
<%@ page import="payroll.webapp.ClaimTypes" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'claimTypes.label', default: 'ClaimTypes')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/adminPage')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${claimTypesInstance}">
            <div class="errors">
                <g:renderErrors bean="${claimTypesInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" method="post" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="claimTypeName"><g:message code="claimTypes.claimTypeName.label" default="Claim Type Name" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'claimTypeName', 'errors')}">
                                    <g:textField name="claimTypeName" value="${claimTypesInstance?.claimTypeName}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="claimTypeDesc"><g:message code="claimTypes.claimTypeDesc.label" default="Claim Type Desc" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'claimTypeDesc', 'errors')}">
                                    <g:textField name="claimTypeDesc" value="${claimTypesInstance?.claimTypeDesc}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isClaimTypeTaxable"><g:message code="claimTypes.isClaimTypeTaxable.label" default="Is Claim Type Taxable" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'isClaimTypeTaxable', 'errors')}">
                                    <g:checkBox name="isClaimTypeTaxable" value="${claimTypesInstance?.isClaimTypeTaxable}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isBizTaxApplicable"><g:message code="claimTypes.isBizTaxApplicable.label" default="Is Biz Tax Applicable" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'isBizTaxApplicable', 'errors')}">
                                    <g:checkBox name="isBizTaxApplicable" value="${claimTypesInstance?.isBizTaxApplicable}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isClaimTypeReimbursableByCust"><g:message code="claimTypes.isClaimTypeReimbursableByCust.label" default="Is Claim Type Reimbursable By Cust" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'isClaimTypeReimbursableByCust', 'errors')}">
                                    <g:checkBox name="isClaimTypeReimbursableByCust" value="${claimTypesInstance?.isClaimTypeReimbursableByCust}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="claimTypeGroupID"><g:message code="claimTypes.claimTypeGroupID.label" default="Claim Type Group ID" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'claimTypeGroupID', 'errors')}">
                                    <g:textField name="claimTypeGroupID" value="${fieldValue(bean: claimTypesInstance, field: 'claimTypeGroupID')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="dateCreated"><g:message code="claimTypes.dateCreated.label" default="Date Created" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'dateCreated', 'errors')}">
                                    <g:datePicker name="dateCreated" precision="day" value="${claimTypesInstance?.dateCreated}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="lastUpdated"><g:message code="claimTypes.lastUpdated.label" default="Last Updated" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'lastUpdated', 'errors')}">
                                    <g:datePicker name="lastUpdated" precision="day" value="${claimTypesInstance?.lastUpdated}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="createdBy"><g:message code="claimTypes.createdBy.label" default="Created By" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'createdBy', 'errors')}">
                                    <g:textField name="createdBy" value="${claimTypesInstance?.createdBy}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="lastModifiedBy"><g:message code="claimTypes.lastModifiedBy.label" default="Last Modified By" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: claimTypesInstance, field: 'lastModifiedBy', 'errors')}">
                                    <g:textField name="lastModifiedBy" value="${claimTypesInstance?.lastModifiedBy}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
